import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);
import VueResource from "vue-resource";
Vue.use(VueResource);
Vue.http.options.root = "http://127.0.0.1:3000";
Vue.http.headers.post['Content-Type'] = "application/x-www-form-urlencode";
import "mint-ui/lib/style.min.css";
import './lib/mui/css/mui.min.css'; 
import "./lib/mui/fonts/mui-icons-extra.ttf";
import { Header,Search,Swipe, SwipeItem,Button,InfiniteScroll,Lazyload} from 'mint-ui';
Vue.component(Header.name, Header);
Vue.component(Search.name, Search);
Vue.component(Swipe.name, Swipe);
Vue.component(SwipeItem.name, SwipeItem);
Vue.component(Button.name,Button);
Vue.use(InfiniteScroll);
Vue.use(Lazyload);
import app from "./app.vue";
import router from "./router";
import store from './store';
var vm = new Vue({
    el:".box",
    data:{
    },
    render:c=>c(app),
    router,
    store
})